from rest_framework import serializers
from transactions.models import Transaction


class TransactionSerialzier(serializers.ModelSerializer):
    class Meta:
        model = Transaction
        fields = '__all__'


class TransactionApiSerializer(serializers.ModelSerializer):
    class Meta:
        model = Transaction
        fields = ['price','dealed','ctime']
